package com.zrrd.learn.wanzixi;

/**
 * 人类
 *
 * @author wrn
 * @version 1.0
 * @date 2023/8/14 17:46
 */

public class People {

    int age;
    String phone;

    public int getAge() {
        return age;
    }

    public void setName(int age){
        this.age=age;
        if (age>=18&&age<=50){
            this.age=age;
        }
        System.out.println("判刑");
    }


}
